
package com.greensecurity.sim;

import com.greensecurity.sim.config.IPConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
        System.out.println("项目地址:"+"http://localhost:8080");
        System.out.println("网络地址:"+"http://"+IPConfig.getIp()+":8080");
    }
}
